<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/web/images/general/favicon.ico" type="image/x-icon" />
    <?php use_stylesheet(sfConfig::get('sf_app').'/layout.css', 'first') ?>
    <?php use_stylesheet('frontend/menu.css', 'first') ?>
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
    
    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    <meta property="fb:admins" content="1484906440" />
    
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-18405850-1']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    </script>
  </head>
  
  <body>
    <div class="wrap">
      <div class="header">
        <?php include_partial('General/header') ?>
        
        <?php include_partial('General/menu') ?>
      </div>
      
      <div class="content">
        <div class="content_left">
          <?php echo $sf_content ?>
        </div>
        
        <div style="text-align: right;" class="content_right">
          <?php if (has_slot('content_right')): ?>
            <?php include_slot('content_right') ?>
          <?php endif ?>
          
          <br/>
          <h3>My Tweets</h3>
          <?php include_component('drTwitterFeed', 'StatusUserTimeline', array('query_parameters' => array('screen_name' => 'johannieto'))) ?>
          <div class="separator"></div>
          <br />
          <fb:activity site="http://www.jnieto.org/" width="200" height="300" header="true" recommendations="true"></fb:activity>
          <div class="separator"></div>
          <br />
          <?php if (has_slot('advertisement')): ?>
            <?php include_slot('advertisement') ?>
          <?php else:?>  
            <script type="text/javascript"><!--
              google_ad_client = "pub-0324183503106071";
              /* Long Lateral */
              google_ad_slot = "0055587733";
              google_ad_width = 120;
              google_ad_height = 600;
              //-->
              </script>
              <script type="text/javascript"
              src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
            
            <br/><br/>
            
            <script type="text/javascript"><!--
              google_ad_client = "pub-0324183503106071";
              /* Vertical Small */
              google_ad_slot = "7206281394";
              google_ad_width = 120;
              google_ad_height = 240;
              //-->
              </script>
            <script type="text/javascript"
              src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
          <?php endif ?>
          
        </div>
        <div class="separator"></div>
      </div>
      
      <div class="footer">
        <?php include_partial('General/footer') ?>
      </div>
    </div>
  </body>
</html>

